<?php



use Doctrine\ORM\Mapping as ORM;

/**
 * Strategy
 *
 * @ORM\Table(name="strategy")
 * @ORM\Entity
 */
class Strategy
{
    /**
     * @var integer
     *
     * @ORM\Column(name="str_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $strId;

    /**
     * @var string
     *
     * @ORM\Column(name="str_name", type="string", length=45, nullable=false)
     */
    private $strName;

    /**
     * @var string
     *
     * @ORM\Column(name="str_description", type="string", length=500, nullable=true)
     */
    private $strDescription;

    /**
     * @var integer
     *
     * @ORM\Column(name="str_validity_start", type="bigint", nullable=false)
     */
    private $strValidityStart;

    /**
     * @var integer
     *
     * @ORM\Column(name="str_validity_end", type="bigint", nullable=false)
     */
    private $strValidityEnd;

    /**
     * @var integer
     *
     * @ORM\Column(name="str_audit_create_date", type="bigint", nullable=false)
     */
    private $strAuditCreateDate;

    /**
     * @var \Fare
     *
     * @ORM\ManyToOne(targetEntity="Fare")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="str_far_id", referencedColumnName="far_id")
     * })
     */
    private $strFar;

    /**
     * @var \Media
     *
     * @ORM\ManyToOne(targetEntity="Media")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="str_med_type", referencedColumnName="med_id")
     * })
     */
    private $strMedType;


    /**
     * Get strId
     *
     * @return integer 
     */
    public function getStrId()
    {
        return $this->strId;
    }

    /**
     * Set strName
     *
     * @param string $strName
     * @return Strategy
     */
    public function setStrName($strName)
    {
        $this->strName = $strName;
    
        return $this;
    }

    /**
     * Get strName
     *
     * @return string 
     */
    public function getStrName()
    {
        return $this->strName;
    }

    /**
     * Set strDescription
     *
     * @param string $strDescription
     * @return Strategy
     */
    public function setStrDescription($strDescription)
    {
        $this->strDescription = $strDescription;
    
        return $this;
    }

    /**
     * Get strDescription
     *
     * @return string 
     */
    public function getStrDescription()
    {
        return $this->strDescription;
    }

    /**
     * Set strValidityStart
     *
     * @param integer $strValidityStart
     * @return Strategy
     */
    public function setStrValidityStart($strValidityStart)
    {
        $this->strValidityStart = $strValidityStart;
    
        return $this;
    }

    /**
     * Get strValidityStart
     *
     * @return integer 
     */
    public function getStrValidityStart()
    {
        return $this->strValidityStart;
    }

    /**
     * Set strValidityEnd
     *
     * @param integer $strValidityEnd
     * @return Strategy
     */
    public function setStrValidityEnd($strValidityEnd)
    {
        $this->strValidityEnd = $strValidityEnd;
    
        return $this;
    }

    /**
     * Get strValidityEnd
     *
     * @return integer 
     */
    public function getStrValidityEnd()
    {
        return $this->strValidityEnd;
    }

    /**
     * Set strAuditCreateDate
     *
     * @param integer $strAuditCreateDate
     * @return Strategy
     */
    public function setStrAuditCreateDate($strAuditCreateDate)
    {
        $this->strAuditCreateDate = $strAuditCreateDate;
    
        return $this;
    }

    /**
     * Get strAuditCreateDate
     *
     * @return integer 
     */
    public function getStrAuditCreateDate()
    {
        return $this->strAuditCreateDate;
    }

    /**
     * Set strFar
     *
     * @param \Fare $strFar
     * @return Strategy
     */
    public function setStrFar(\Fare $strFar = null)
    {
        $this->strFar = $strFar;
    
        return $this;
    }

    /**
     * Get strFar
     *
     * @return \Fare 
     */
    public function getStrFar()
    {
        return $this->strFar;
    }

    /**
     * Set strMedType
     *
     * @param \Media $strMedType
     * @return Strategy
     */
    public function setStrMedType(\Media $strMedType = null)
    {
        $this->strMedType = $strMedType;
    
        return $this;
    }

    /**
     * Get strMedType
     *
     * @return \Media 
     */
    public function getStrMedType()
    {
        return $this->strMedType;
    }
}
